Q3File_OpenRead
You can use theQ3File_OpenRead
function to open a file object for reading.
TQ3Status Q3File_OpenRead ( TQ3FileObject file, TQ3FileMode *mode);
file
- A file object.
mode
- On exit, a set of bit flags that specify the file mode of the specified file object. Set this field to
NULL
if you do not want a file mode to be returned.DESCRIPTION
TheQ3File_OpenRead
function opens for reading the file object specified by thefile
parameter and returns, in themode
parameter, the file mode of the file object. See "File Mode Flags" on page 17-12 for a description of the available file mode flags.ERRORS
kQ3ErrorOSError
kQ3ErrorOutOfMemory